﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ModelLayer
{
    [DataContract]
    public class Token
    {
        [DataMember]
        public int UserId { get; set; }
        [DataMember]
        public string TokenId { get; set; }
        [DataMember]
        public int Expire { get; set; }
        public Token()
        {

        }

        public Token(int userId, string tokenId, int expire)
        {
            UserId = userId;
            TokenId = tokenId;
            Expire = expire;
        }
    }
}
